//-----------------------------------------------------------
//
//-----------------------------------------------------------
class ZFGUI_HostGame extends ROUT2K4GamePageMP;

function StartGame(string GameURL, bool bAlt)
{
	local GUIController C;

	C = Controller;

    if (bAlt)
	{
	    if ( mcServerRules != None )
			GameURL $= mcServerRules.Play();

	    // Append optional server flags
		PlayerOwner().ConsoleCommand("relaunch"@GameURL@"-server -mod=ZombieFront -log=server.log");
	}
    else
        PlayerOwner().ClientTravel(GameURL $ "?Listen",TRAVEL_Absolute,False);

    C.CloseAll(false,True);
}

DefaultProperties
{
     PanelClass(1)="ZFGUI.ZFGUI_Tab_SP"
}
